;$(function(){
	$.fn.Test=function(options){
		options=$.extend({
			odd : "odd",
			even : "even",
			selected : "selected"
		},options);
		$("table>tr:odd",this).addClass(options.odd);
		$("table>tr:even",this).addClass(option.even);
		$("table>tr",this).click(function(){
			var hasClass = $(this).hasClass(option.selected);
			$(this)[hacClass?"removeClass":"addClass"](option.selected).find(":checkbox").attr("checked",!hasClass);
		});
		$("table>tr:has(:checked)",this).addClass(option.selected);
		return this;
	}
})(jQuery);